﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ScheduleMaker.DB.Domain.Core
{
    public class EmergencyScheduleAdapter : Schedule
    {
        private EmergencySchedule emergencySchedule;

        public EmergencyScheduleAdapter(EmergencySchedule emergencySchedule)
        {
            this.emergencySchedule = emergencySchedule;
        }

        public Classroom Classroom {
            get { return emergencySchedule.Classroom; }
            set { emergencySchedule.Classroom = value; }
        }

        public Teacher Teacher 
        {
            get { return emergencySchedule.Teacher; }
            set { emergencySchedule.Teacher = value; }
        }

        public Day Day 
        {
            get { return emergencySchedule.Day; }
            set { emergencySchedule.Day = value; }
        }

        public ClassHour ClassHour
        {
            get { return emergencySchedule.ClassHour; }
            set { emergencySchedule.ClassHour = value; }
        }

        public Subject Subject 
        {
            get { return emergencySchedule.Subject; }
            set { emergencySchedule.Subject = value; }
        }

        public Group Group
        {
            get { return emergencySchedule.Group; }
            set { emergencySchedule.Group = value; }
        }

    }
}
